home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / DB / DBINT72 / DBINT72.INS < prev    next >
Encoding:
Text File  |  1995-11-01  |  2.7 KB  |  108 lines

  1. /* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.   dbint72.ins - V3 installation script
  5.  
  6.   DESCRIPTION
  7.     This script installs
  8.  
  9.   OWNER
  10.     Zakia Zerhouni
  11.  
  12.   MODIFIED    DD-MMM-YY  Reason
  13.   ekhor       31-OCT-95  added processing for trial web install
  14.   LMurphy     19-JUN-95  Modified for Windows 95 GUI
  15.   LMurphy     23-JAN-95  Modified for use with SQL*Net help
  16.   zzerhoun    04-JAN-95  Created.
  17. *****************************************************************************/
  18. {
  19.  
  20.   if (doit)
  21.   {
  22.       /*****************************
  23.       Set the VRF-INS script ratchet
  24.       ******************************/
  25.  
  26.       bmp_home = directory_name(current_script);
  27.       { ui_graphics("%bmp_home%\nav.bmp"); }
  28.       [ 'DEFAULT: continue(); ]
  29.  
  30.       ins_ratchet = "7.2.2.3.1";
  31.  
  32.       permit_retry_operations = TRUE;
  33.  
  34.       execute("%installer_home%\win95.ins");
  35.  
  36.       install(w95rsf72);
  37.  
  38.       /******************
  39.       Install the product
  40.       *******************/
  41.  
  42.       ui_action( instantiate(installing_scripts) );
  43.       copy(deinst);
  44.  
  45.       ui_action( instantiate(installing_executables) );
  46.       copy(exe);
  47.       copy(smpldir);
  48.  
  49.       ui_action( instantiate(installing_dlls) );
  50.       copy(dll,vsn);
  51.  
  52.       if (copy_sample)
  53.     copy(sample);
  54.  
  55.       ui_action( instantiate(modifying_config) );
  56.  
  57.       { win32_create_key("HKEY_CURRENT_USER", "Software\ORACLE\Personal Oracle7 Navigator\Local"); }
  58.       [ 'INVALID_KEY, 'PERMISSION_DENIED, 'OS_ERROR: continue(); ]
  59.  
  60.       { win32_set_value("HKEY_CURRENT_USER", "Software\ORACLE\Personal Oracle7 Navigator\Local", "Connection", "PO7/PO7@2:"); }
  61.       [ 'INVALID_KEY, 'PERMISSION_DENIED, 'OS_ERROR: continue(); ]      
  62.  
  63.  
  64.       /*************************
  65.       Modify Configuration files
  66.       **************************/
  67.     
  68.       permit_retry_operations = FALSE;
  69.  
  70.       if (set_nav72)
  71.     modify("NAV72",nav72,ora_config,(product_filename(current_product)));
  72.  
  73.       /*******************
  74.         Install the parent
  75.       ********************/
  76.  
  77.       if(member(selected_products, current_product))
  78.       {
  79.     if (install_parent)
  80.         install(product_parent(current_product));
  81.       }
  82.  
  83.       /*******************
  84.         Register the product
  85.       ********************/
  86.       ui_action( instantiate(registering) );
  87.       register(current_product);
  88.  
  89.       if (member(selected_products,current_product))
  90.         reference(current_product);
  91.     
  92.       /* reference parent */
  93.       reference(product_parent(current_product), current_product);
  94.  
  95.       reference(w95rsf72, current_product);
  96.  
  97.       permit_retry_operations = FALSE;
  98.     }
  99. }
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.